package cn.cstech.aijia.ui.base.title;

import android.view.View;
import android.view.View.OnClickListener;

public interface ITitleBar {
	public void setTitleText(String title);

	public void setTitleText(int title);

	public void setLeftButton(String btnText, View.OnClickListener lsn);

	public void setLeftButton(int btnText, View.OnClickListener lsn);

	public void setLeftImageView(int imageRes, View.OnClickListener lsn);

	public void setRightButton(String btnText, View.OnClickListener lsn);

	public void hideRightButton();

	public void setRightButton(int btnText, View.OnClickListener lsn);

	public void setRightImageView(int imageRes, View.OnClickListener lsn);

	public void setBackOnClick(View.OnClickListener lsn);

	public void showTitleBar(boolean show);

	public void showNullPage(boolean show);

	public void showHttpDataError(boolean show);

	public void showHttpDataError(boolean show, View.OnClickListener clickListener);

	public void showNetWorkErrorOnTop(boolean show);

	public void showNetWorkError(int i, View.OnClickListener listener);
	
	public void hideNetWorkError();

	public void showCloseButton(boolean show, OnClickListener lsn);
}
